<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="snmp.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.snmp.html">SNMP 函数</a></div>
 <div class="up"><a href="book.snmp.html">SNMP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="snmp.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 
 <dl>

  <strong class="title">For the
   <span class="function"><a href="function.snmp-set-oid-output-format.html" class="function">snmp_set_oid_output_format()</a></span>
  </strong>
  
   <dt id="constant.snmp-oid-output-suffix">
    <strong><code>SNMP_OID_OUTPUT_SUFFIX</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.4.0
    </span>
   </dd>

  
  
   <dt id="constant.snmp-oid-output-module">
    <strong><code>SNMP_OID_OUTPUT_MODULE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.4.0
    </span>
   </dd>

  
  
   <dt id="constant.snmp-oid-output-full">
    <strong><code>SNMP_OID_OUTPUT_FULL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.2.0
    </span>
   </dd>

  
  
   <dt id="constant.snmp-oid-output-numeric">
    <strong><code>SNMP_OID_OUTPUT_NUMERIC</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.2.0
    </span>
   </dd>

  
  
   <dt id="constant.snmp-oid-output-ucd">
    <strong><code>SNMP_OID_OUTPUT_UCD</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.4.0
    </span>
   </dd>

  
  
   <dt id="constant.snmp-oid-output-none">
    <strong><code>SNMP_OID_OUTPUT_NONE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     As of 5.4.0
    </span>
   </dd>

  
 </dl>

 
 
 <dl>

  <strong class="title">For the
   <span class="function"><a href="function.snmp-set-valueretrieval.html" class="function">snmp_set_valueretrieval()</a></span>
  </strong>
  
   <dt id="constant.snmp-value-library">
    <strong><code>SNMP_VALUE_LIBRARY</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-value-plain">
    <strong><code>SNMP_VALUE_PLAIN</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-value-object">
    <strong><code>SNMP_VALUE_OBJECT</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
 </dl>

 
 
 <dl>

  <strong class="title">
   SNMP types as returned if SNMP_VALUE_OBJECT was used with
   <span class="function"><a href="function.snmp-set-valueretrieval.html" class="function">snmp_set_valueretrieval()</a></span>
  </strong>
  
   <dt id="constant.snmp-bit-str">
    <strong><code>SNMP_BIT_STR</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-octet-str">
    <strong><code>SNMP_OCTET_STR</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-opaque">
    <strong><code>SNMP_OPAQUE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-null">
    <strong><code>SNMP_NULL</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-object-id">
    <strong><code>SNMP_OBJECT_ID</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-ipaddress">
    <strong><code>SNMP_IPADDRESS</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-counter">
    <strong><code>SNMP_COUNTER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-unsigned">
    <strong><code>SNMP_UNSIGNED</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-timeticks">
    <strong><code>SNMP_TIMETICKS</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-uinteger">
    <strong><code>SNMP_UINTEGER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-integer">
    <strong><code>SNMP_INTEGER</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.snmp-counter64">
    <strong><code>SNMP_COUNTER64</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
 </dl>


</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="snmp.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.snmp.html">SNMP 函数</a></div>
 <div class="up"><a href="book.snmp.html">SNMP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
